import request from '@/utils/request';

// 修改患者信息
export function edit(query) {
  return request({
    url: '/patient/patient',
    method: 'put',
    data: query
  })
}

// 根据患者id查询患者信息
export function getPatientById(query) {
  return request({
    url: '/patient/patient/getPatientById',
    method: 'get',
    params: query
  })
}